Skip to content

Sync routes improved, allowing new fields to be added #409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 17 commits into from

Conversation

bitterpanda63
Copy link
Member

Necessary to add new stats to routes (like rateLimitedCount)

@bitterpanda63 bitterpanda63 self-assigned this Jun 16, 2025
@bitterpanda63 bitterpanda63 marked this pull request as draft June 16, 2025 11:37
@bitterpanda63 bitterpanda63 marked this pull request as ready for review June 24, 2025 08:43
@bitterpanda63 bitterpanda63 changed the title Refactor: Sync routes correctly, allowing new fields to be added Sync routes correctly, allowing new fields to be added Jun 24, 2025
@bitterpanda63 bitterpanda63 changed the title Sync routes correctly, allowing new fields to be added Sync routes improved, allowing new fields to be added Jun 24, 2025
def manage_routes_size(self):
"""
Evicts LRU routes if the size is too large
"""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason to not use LRUCache? Because this does not have a ttl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants